package ${package.Service};

import com.baomidou.mybatisplus.extension.service.IService;
import ${cfg.commonPackge}.PageParams;
import ${cfg.commonPackge}.PageResult;
import ${cfg.commonPackge}.AppResp;
import ${cfg.voEntityPackage}.${entity}VO;
import ${package.Entity}.${entity};

/**
 * <p>
 * ${table.comment!} Service 接口
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
public interface ${entity}Service extends IService<${entity}> {

    AppResp<PageResult<${entity}VO>> page(PageParams<${entity}VO> pageParams);

    AppResp<${entity}VO> queryById(Long ${'${entity}'?uncap_first}Id);

    AppResp<Void> add(${entity}VO ${'${entity}'?uncap_first}VO);

    AppResp<Void> delById(Long ${'${entity}'?uncap_first}Id);

    AppResp<Void> modify(${entity}VO ${'${entity}'?uncap_first}VO);

}
